<template>
  <div id="app">
    <link rel="stylesheet" v-for="linkUrl in linkList" :key="linkUrl" :href="linkUrl"/>
    <router-view/>
  </div>
</template>

<style src="@/vendor/styles/bootstrap.scss" lang="scss"></style>
<style src="@/vendor/styles/appwork.scss" lang="scss"></style>
<style src="@/vendor/styles/theme-corporate.scss" lang="scss"></style>
<style src="@/vendor/styles/colors.scss" lang="scss"></style>
<style src="@/vendor/styles/uikit.scss" lang="scss"></style>

<style src="./style.scss" lang="scss"></style>

<script>

export default {
  name: 'app',
  metaInfo: {
    title: '首页',
    titleTemplate: '%s - 智能风控平台'
  },
  data() {
    return {
      linkList : [
        '@/../static/vendor/fonts/fontawesome.css',
        '@/../static/vendor/fonts/ionicons.css',
        '@/../static/vendor/fonts/linearicons.css',
        '@/../static/vendor/fonts/open-iconic.css',
        '@/../static/vendor/fonts/pe-icon-7-stroke.css'
      ]
    }
  },
  updated () {
    // Remove loading state
    setTimeout(() => document.body.classList.remove('app-loading'), 1)
  }
}
</script>
